package net.app.zoneland.platform.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import net.app.zoneland.domain.SysRoleResource;
import net.app.zoneland.dto.RourcesDTO;
import net.app.zoneland.platform.mapper.SysRoleResourceMapper;
import net.app.zoneland.platform.service.ISysRoleResourceService;
import org.springframework.stereotype.Service;
import java.util.List;

/**
 * @Description
 * @Author LENOVO
 * @CreateTime 2020/12/20 17:39
 * @Version: 1.0
 */
@Service
public class SysRoleResourceServiceImpl extends ServiceImpl<SysRoleResourceMapper, SysRoleResource> implements ISysRoleResourceService {

    @Override
    public List<RourcesDTO> findRourceById(Integer roleId) {
        return this.baseMapper.findRourceById(roleId);
    }
}

